package com.accounting.services;

import org.springframework.stereotype.Service;

import com.accounting.ws.Account;
import com.accounting.ws.EnumAccountStatus;

@Service("AccountServiceImpl")
public class AccountServiceImpl implements AccountService {
	
	/**
	 * Get the Account Details
	 * @param accountNumber
	 * @return Account details
	 */
	public Account getAccountDetails(String accountNumber) {
		Account account = new Account();
		account.setAccountNumber("3003245608");
		account.setAccountName("JANGWA Serge");
		account.setAccountStatus(EnumAccountStatus.ACTIVE);
		account.setAccountBalance(1000.0);
		
		return account;
	}

}
